import { StyleSheet, Text, View } from 'react-native'
import Divide from './divide'
export default TitleText = ({ color = 'red', fontSize = 14, content = '' }) => {
  const styles = StyleSheet.create({
    root: {
      width: '100%',
    },
  });

  return (
    <View style={styles.root}>
      <Divide isBig />
      <Text style={{color, fontSize, textAlign: 'center'}}>{content}</Text>
    </View>
  );
};
